import request from "@/utils/request";

// 公用标准列表
export function publicList(params) {
  return request({
    url: `/standard/publicList`,
    method: "get",
    params
  });
}

//新增公用标准
export function addStandard(data) {
  return request({
    url: `/standard/addStandard`,
    method: "post",
    data
  });
}

//删除标准
export function deleteById(params) {
  return request({
    url: `/standard/deleteById`,
    method: "get",
    params
  });
}


// 待审核标准
export function checkList(params) {
  return request({
    url: `/standard/checkList`,
    method: "get",
    params
  });
}

// 审核
export function check(params) {
  return request({
    url: `/standard/check`,
    method: "get",
    params
  });
}

//运维平台修改
export function updateById(data) {
  return request({
    url: `/standard/updateById`,
    method: "post",
    data
  });
}